
//
//  DemandOnlineOfflineCell.m
//  BusinessMarket
//
//  Created by Michael Li on 2018/11/1.
//  Copyright © 2018年 Michael Li. All rights reserved.
//

#import "DemandOnlineOfflineCell.h"
@interface DemandOnlineOfflineCell()
@property (weak, nonatomic) IBOutlet UIView *view;
@property (weak, nonatomic) IBOutlet UIImageView *iv;
@property (weak, nonatomic) IBOutlet UIButton *contactBtn;
@property (weak, nonatomic) IBOutlet UILabel *contentL;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *markOneW;
@property (weak, nonatomic) IBOutlet UILabel *markOneL;
@property (weak, nonatomic) IBOutlet UILabel *markTwoL;
@property (weak, nonatomic) IBOutlet UILabel *markThreeL;
@property (weak, nonatomic) IBOutlet UILabel *markFourL;
@property (weak, nonatomic) IBOutlet UIButton *deleBtn;
@property (weak, nonatomic) IBOutlet UIButton *soldOutBtn;
@property (weak, nonatomic) IBOutlet UIButton *reviseBtn;
@end
@implementation DemandOnlineOfflineCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.view.layer.masksToBounds = YES;
    self.view.layer.cornerRadius = 3;
    self.view.layer.borderColor = kLineColor.CGColor;
    self.view.layer.borderWidth = 1;
    self.markOneL.layer.cornerRadius = 3;
    self.markOneL.layer.borderColor  = kLabel102Color.CGColor;
    self.markOneL.layer.borderWidth  = 1;
    self.markOneW.constant = [MCLabel getWidthWithTitle:self.markOneL.text withFontSize:12]+5;
    self.deleBtn.layer.cornerRadius = 3;
    self.deleBtn.alpha = 0.9;
    [self.deleBtn setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
    self.soldOutBtn.layer.cornerRadius = 3;
    self.soldOutBtn.alpha = 0.9;
    [self.soldOutBtn setTitleColor:kLabel102Color forState:UIControlStateNormal];
    self.reviseBtn.layer.cornerRadius = 3;
    self.reviseBtn.alpha = 0.9;
    [self.reviseBtn setTitleColor:[UIColor colorWithRed:139/255.0 green:195/255.0 blue:74/255.0 alpha:1] forState:UIControlStateNormal];
//    self.deleBtn.layer.borderColor  = <#[UIColor whiteColor]#>.CGColor;
//    self.deleBtn.layer.borderWidth  = <#2#>;

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
